From: Keir Fraser Date: Tue, 15 Jan 2008 18:50:44 +0000 (+0000) Subject: -DNDEBUG for hypervisor only X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14445^2~41 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=1d0474e5beff164fab74ed17d8ab0be55a6320be;p=xen.git -DNDEBUG for hypervisor only Signed-off-by: Ian Jackson --- diff --git a/Config.mk b/Config.mk index 01644b167c..fbd65436da 100644 --- a/Config.mk +++ b/Config.mk @@ -57,9 +57,7 @@ define cc-ver-check-closure endif endef -ifneq ($(debug),y) -CFLAGS += -DNDEBUG -else +ifeq ($(debug),y) CFLAGS += -g endif diff --git a/xen/Rules.mk b/xen/Rules.mk index db2447a450..0b8de6e389 100644 --- a/xen/Rules.mk +++ b/xen/Rules.mk @@ -17,6 +17,8 @@ include $(XEN_ROOT)/Config.mk ifeq ($(debug),y) verbose := y frame_pointer := y +else +CFLAGS += -DNDEBUG endif ifeq ($(perfc_arrays),y) perfc := y